{// define another print host use generic-printer host_name 31 east alias 31-EAST address 192.168.4.61 hostgroups network-printers} define hostgroup {// define a group hostgroup_name network-printers alias Network Printers members 31 east, 31 west // group member. Here, two simple statements are written, note that the name corresponds to} define service {use generic-service hostgroup_name network-printers // the members of this group use this method to moni
The directory where the nagioscgi files are located, that is, the files required to execute the external commandThe directory where the Share Nagios Web page file residesLibexec Nagios External plug-in directoryThe directory where the var nagios log files, lock, and other files resideVar/archives nagios Log Auto A
Nagios is a popular computer system and network monitoring program that detects hosts and services and alerts users when an exception occurs and is released. It is open source software developed based on GPLV2 and is available for free and use.How Nagios WorksNagios's function is to monitor services and hosts, but it does not include these features, and all monit
The previous section describes the installation process for the Nagios monitoring service in a Linux environment, and this section details how to use some of the configuration files for the Nagios services that have already been installed and how to monitor local related services. If you want to complete monitoring of a host
The previous section describes the installation process for the Nagios monitoring service in a Linux environment, and this section details how to use some of the configuration files for the Nagios services that have already been installed and how to monitor local related services. If you want to complete monitoring of a host
1. this guide attempts to allow you to monitor local hosts by installing Nagios source programs on Ubuntu within 20 minutes using simple commands. More advanced settings are not discussed-only some basic operations, but this is enough for 95% of users to start Nagios. 1. this guide attempts to allow you to monitor loca
Now there are a lot of people using Zabbix, but I think if the number of server monitoring is not much, the old monitoring system Nagios is very good. Nagios Alarm function is very powerful, and the program is small, resource footprint. Nagios default does not support drawing, you can match cacti, but build more complex. Individuals are still accustomed to using
1. Install nsclient++Visit the http://nsclient.org/nscp/download nsclient++, where I am using the nsclient++-0.3.9-x64 MSI installation package. After downloading directly installs, will prompt to enter Nagios to monitor the server address and the password in the process. The address is filled in correctly and the password is not set. Nagios monitoring Server in
version is described here.
CGI.CGF CGI configuration file under Nagios/etc
NAGIOS.CGF Nagios Main configuration file
User and password used by Htpasswd.users login authentication
Nagiosgraph.cfg
Ndo2db.cfg Nagios collection of data written to the database plug-in ndo configuration file
Ndomod.cfg Nagios data is
client is more complex than installing on the server side because the Nrpe is running as a daemon in the client, as follows:
[Root@test2 ~]# yum install-y OpenSSL openssl-devel
[Root@test2 ~]# wget http://sourceforge.net/projects/nagios/files/nrpe-2.x/nrpe-2.14/nrpe-2.14.tar.gz/download? Use_mirror=hivelocityr=use_mirror=hivelocity
[Root@test2 ~]# tar zxvf nrpe-2.14.tar.gz
[Root@test2 nrpe-2.14]# Useradd Nagi
follows: 650) this.width=650; "title=" clip_image005 "style=" border-left-0px; border-right-width:0px; Background-image:none; border-bottom-width:0px; padding-top:0px; padding-left:0px; margin:0px; padding-right:0px; border-top-width:0px "border=" 0 "alt=" clip_image005 "src=" http://img1.51cto.com/attachment/201409/29/526870_ 1411981355hkjf.png "width=" 644 "height=" 195 "/> View Nagios monitors one of the servers with the IP address for the telco I
Install# Make Install-init# Make Install-commandmode
Contact information Configuration#vi/usr/local/nagios/etc/objects/contacts.cfgModify a contact mailbox, etc.
Configuring the Web InterfaceInstall the Nagios Web configuration file in the Apache CONF.D directory:# Make Install-webconf
Create Nagiosadmin account number and password for login Nagios web interf
Introduction: Nagios interface. See Monitoring MySQL service errors, as below:Warning:NRPE:Unable to read output1, with the Nagios monitor server on the check1.1. Run the Check_nrpe command for remote callsRun Check_nrpe on the monitor side nagiosserver check for MySQL status errors such as the following:[Email protect
:
Netstat-ant | grep 5666
Test whether Nrpe works properly:
/Usr/local/nagios/libexec/check_nrpe-H localhost
NRPE v2.8.1 indicates that it is normal to connect nrpe daemon locally with check_nrpe)
Server Configuration:
A. Copy the localhost. cfg template file to monitor 192.168.112.101:
Cp/usr/local/nagios/etc/localhost. cfg/usr/local/
Nrpe is based on the correct installation of Nagios-plugins, nagios-plugins installation details, please go to:[Nagios monitoring Nagios-plugins installation]http://4709096.blog.51cto.com/4699096/17022241. Dependency packet Detection#rpm-Q xinetd openssl-devel#yum Install xinetd Openssl-devel2. Compiling the installati
Nagios thinks its good stateful detection mechanism enables Nagios to monitor different plug-ins on different platforms, and it also supports the use of SNMP protocol (Simple Network Management Protocol) to monitor various platforms and devices. So Nagios can also use the SN
Using the nagios plug-in to log on to the vro for ping monitoring
Router_check_apn_ping.c
#include
Script auto_ssh_route01_gglc_80_49.sh called
#!/usr/bin/expect -f#set port 22set user xxxoooset host 114.66.80.49set password xxxooo@2014set timeout 30spawn ssh $user@$hostexpect "*assword:*"send "$password\r"expect "*IRT*"send "ping -c 5 -m 1000 10.7.0.186\r"expec
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.